//
// Author: Vladimir Migashko <migashko@gmail.com>, (C) 2011
//
// Copyright: See COPYING file that comes with this distribution
//

#ifndef FASYS_FASYS_SSERVICE_SSERVICE_JSON_HPP
#define FASYS_FASYS_SSERVICE_SSERVICE_JSON_HPP

#include <fas/mux/imux.hpp>
#include "config.hpp"
#include "../isubscriptions.hpp"

namespace fasys{ namespace sservice{

class service_json;


class sservice_json
{
public:
  virtual ~sservice_json();
  sservice_json();
  void initialize(isubscriptions* chs, ipublisher* publisher);
  void start( fas::mux::imux<>* mux, const config& conf );
  void stop();
private:
  service_json* _service;
};

}}

#endif

